3.526 \(\int (a+b \tanh ^{-1}(c x)) (d+e \log (1-c^2 x^2)) \, dx\)

Optimal. Leaf size=104 \[ x \left (a+b \tanh ^{-1}(c x)\right ) \left (e \log \left (1-c^2 x^2\right )+d\right )+\frac{e \left (a+b \tanh ^{-1}(c x)\right )^2}{b c}-2 a e x+\frac{b \left (e \log \left (1-c^2 x^2\right )+d\right )^2}{4 c e}-\frac{b e \log \left (1-c^2 x^2\right )}{c}-2 b e x \tanh ^{-1}(c x) \]

[Out]

-2*a*e*x - 2*b*e*x*ArcTanh[c*x] + (e*(a + b*ArcTanh[c*x])^2)/(b*c) - (b*e*Log[1 - c^2*x^2])/c + x*(a + b*ArcTa
nh[c*x])*(d + e*Log[1 - c^2*x^2]) + (b*(d + e*Log[1 - c^2*x^2])^2)/(4*c*e)

________________________________________________________________________________________

Rubi [A]  time = 0.195038, antiderivative size = 104, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {6073, 2475, 2390, 2301, 5980, 5910, 260, 5948} \[ x \left (a+b \tanh ^{-1}(c x)\right ) \left (e \log \left (1-c^2 x^2\right )+d\right )+\frac{e \left (a+b \tanh ^{-1}(c x)\right )^2}{b c}-2 a e x+\frac{b \left (e \log \left (1-c^2 x^2\right )+d\right )^2}{4 c e}-\frac{b e \log \left (1-c^2 x^2\right )}{c}-2 b e x \tanh ^{-1}(c x) \]

Antiderivative was successfully verified.

[In]

Int[(a + b*ArcTanh[c*x])*(d + e*Log[1 - c^2*x^2]),x]

[Out]

-2*a*e*x - 2*b*e*x*ArcTanh[c*x] + (e*(a + b*ArcTanh[c*x])^2)/(b*c) - (b*e*Log[1 - c^2*x^2])/c + x*(a + b*ArcTa
nh[c*x])*(d + e*Log[1 - c^2*x^2]) + (b*(d + e*Log[1 - c^2*x^2])^2)/(4*c*e)

Rule 6073

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))*((d_.) + Log[(f_.) + (g_.)*(x_)^2]*(e_.)), x_Symbol] :> Simp[x*(d + e*
Log[f + g*x^2])*(a + b*ArcTanh[c*x]), x] + (-Dist[b*c, Int[(x*(d + e*Log[f + g*x^2]))/(1 - c^2*x^2), x], x] -
Dist[2*e*g, Int[(x^2*(a + b*ArcTanh[c*x]))/(f + g*x^2), x], x]) /; FreeQ[{a, b, c, d, e, f, g}, x]

Rule 2475

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.)*((f_) + (g_.)*(x_)^(s_))^(r_.),
 x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(f + g*x^(s/n))^r*(a + b*Log[c*(d + e*x)^p])^q,
x], x, x^n], x] /; FreeQ[{a, b, c, d, e, f, g, m, n, p, q, r, s}, x] && IntegerQ[r] && IntegerQ[s/n] && Intege
rQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0])

Rule 2390

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_) + (g_.)*(x_))^(q_.), x_Symbol] :> Dist[1/
e, Subst[Int[((f*x)/d)^q*(a + b*Log[c*x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p, q}, x]
 && EqQ[e*f - d*g, 0]

Rule 2301

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))/(x_), x_Symbol] :> Simp[(a + b*Log[c*x^n])^2/(2*b*n), x] /; FreeQ[{a
, b, c, n}, x]

Rule 5980

Int[(((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_))/((d_) + (e_.)*(x_)^2), x_Symbol] :> Dist[f^2
/e, Int[(f*x)^(m - 2)*(a + b*ArcTanh[c*x])^p, x], x] - Dist[(d*f^2)/e, Int[((f*x)^(m - 2)*(a + b*ArcTanh[c*x])
^p)/(d + e*x^2), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && GtQ[p, 0] && GtQ[m, 1]

Rule 5910

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.), x_Symbol] :> Simp[x*(a + b*ArcTanh[c*x])^p, x] - Dist[b*c*p, In
t[(x*(a + b*ArcTanh[c*x])^(p - 1))/(1 - c^2*x^2), x], x] /; FreeQ[{a, b, c}, x] && IGtQ[p, 0]

Rule 260

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rule 5948

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)^2), x_Symbol] :> Simp[(a + b*ArcTanh[c*x])^(p
 + 1)/(b*c*d*(p + 1)), x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[c^2*d + e, 0] && NeQ[p, -1]

Rubi steps

\begin{align*} \int \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx &=x \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )-(b c) \int \frac{x \left (d+e \log \left (1-c^2 x^2\right )\right )}{1-c^2 x^2} \, dx+\left (2 c^2 e\right ) \int \frac{x^2 \left (a+b \tanh ^{-1}(c x)\right )}{1-c^2 x^2} \, dx\\ &=x \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )-\frac{1}{2} (b c) \operatorname{Subst}\left (\int \frac{d+e \log \left (1-c^2 x\right )}{1-c^2 x} \, dx,x,x^2\right )-(2 e) \int \left (a+b \tanh ^{-1}(c x)\right ) \, dx+(2 e) \int \frac{a+b \tanh ^{-1}(c x)}{1-c^2 x^2} \, dx\\ &=-2 a e x+\frac{e \left (a+b \tanh ^{-1}(c x)\right )^2}{b c}+x \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )+\frac{b \operatorname{Subst}\left (\int \frac{d+e \log (x)}{x} \, dx,x,1-c^2 x^2\right )}{2 c}-(2 b e) \int \tanh ^{-1}(c x) \, dx\\ &=-2 a e x-2 b e x \tanh ^{-1}(c x)+\frac{e \left (a+b \tanh ^{-1}(c x)\right )^2}{b c}+x \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )+\frac{b \left (d+e \log \left (1-c^2 x^2\right )\right )^2}{4 c e}+(2 b c e) \int \frac{x}{1-c^2 x^2} \, dx\\ &=-2 a e x-2 b e x \tanh ^{-1}(c x)+\frac{e \left (a+b \tanh ^{-1}(c x)\right )^2}{b c}-\frac{b e \log \left (1-c^2 x^2\right )}{c}+x \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )+\frac{b \left (d+e \log \left (1-c^2 x^2\right )\right )^2}{4 c e}\\ \end{align*}

Mathematica [A]  time = 0.0170782, size = 144, normalized size = 1.38 \[ a e x \log \left (1-c^2 x^2\right )+\frac{2 a e \tanh ^{-1}(c x)}{c}+a d x-2 a e x+\frac{b d \log \left (1-c^2 x^2\right )}{2 c}+\frac{b e \log ^2\left (1-c^2 x^2\right )}{4 c}-\frac{b e \log \left (1-c^2 x^2\right )}{c}+b e x \log \left (1-c^2 x^2\right ) \tanh ^{-1}(c x)+b d x \tanh ^{-1}(c x)+\frac{b e \tanh ^{-1}(c x)^2}{c}-2 b e x \tanh ^{-1}(c x) \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*ArcTanh[c*x])*(d + e*Log[1 - c^2*x^2]),x]

[Out]

a*d*x - 2*a*e*x + (2*a*e*ArcTanh[c*x])/c + b*d*x*ArcTanh[c*x] - 2*b*e*x*ArcTanh[c*x] + (b*e*ArcTanh[c*x]^2)/c
+ (b*d*Log[1 - c^2*x^2])/(2*c) - (b*e*Log[1 - c^2*x^2])/c + a*e*x*Log[1 - c^2*x^2] + b*e*x*ArcTanh[c*x]*Log[1
- c^2*x^2] + (b*e*Log[1 - c^2*x^2]^2)/(4*c)

________________________________________________________________________________________

Maple [C]  time = 0.611, size = 2529, normalized size = 24.3 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*arctanh(c*x))*(d+e*ln(-c^2*x^2+1)),x)

[Out]

1/2*I*b*arctanh(c*x)*csgn(I*(c*x+1)^2/(c^2*x^2-1))^3*Pi*x*e+1/2*I*b*arctanh(c*x)*csgn(I*(c*x+1)^2/(c^2*x^2-1)/
((c*x+1)^2/(-c^2*x^2+1)+1)^2)^3*Pi*x*e+1/2*I*b*arctanh(c*x)*csgn(I*((c*x+1)^2/(-c^2*x^2+1)+1)^2)^3*Pi*x*e+1/2*
I/c*b*csgn(I*((c*x+1)^2/(-c^2*x^2+1)+1)^2)^3*Pi*e*arctanh(c*x)-1/2*I/c*b*ln((c*x+1)^2/(-c^2*x^2+1)+1)*Pi*e*csg
n(I*(c*x+1)^2/(c^2*x^2-1))^3-1/2*I/c*b*Pi*ln((c*x+1)^2/(-c^2*x^2+1)+1)*e*csgn(I*(c*x+1)^2/(c^2*x^2-1)/((c*x+1)
^2/(-c^2*x^2+1)+1)^2)^3-1/2*I/c*b*Pi*ln((c*x+1)^2/(-c^2*x^2+1)+1)*e*csgn(I*((c*x+1)^2/(-c^2*x^2+1)+1)^2)^3+1/2
*I/c*b*csgn(I*(c*x+1)^2/(c^2*x^2-1))^3*Pi*e*arctanh(c*x)+1/2*I/c*b*csgn(I*(c*x+1)^2/(c^2*x^2-1)/((c*x+1)^2/(-c
^2*x^2+1)+1)^2)^3*Pi*e*arctanh(c*x)-1/2*I/c*b*ln((c*x+1)^2/(-c^2*x^2+1)+1)*Pi*e*csgn(I*(c*x+1)/(-c^2*x^2+1)^(1
/2))^2*csgn(I*(c*x+1)^2/(c^2*x^2-1))-1/2*I/c*b*ln((c*x+1)^2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1/2))^2*Pi*x*e+1/2*I*b*arctanh(c*x)*csgn(I/((c*x+1)^2/(-c^2*x^2+1)+1)^2)*csgn(I*(c*x+1)^2/(c^2*x^2-1)/((c*x+1)
^2/(-c^2*x^2+1)+1)^2)^2*Pi*x*e+1/2*I*b*arctanh(c*x)*csgn(I*((c*x+1)^2/(-c^2*x^2+1)+1))^2*csgn(I*((c*x+1)^2/(-c
^2*x^2+1)+1)^2)*Pi*x*e-I*b*arctanh(c*x)*csgn(I*((c*x+1)^2/(-c^2*x^2+1)+1))*csgn(I*((c*x+1)^2/(-c^2*x^2+1)+1)^2
)^2*Pi*x*e-1/2*I/c*b*csgn(I*(c*x+1)^2/(c^2*x^2-1)/((c*x+1)^2/(-c^2*x^2+1)+1)^2)^2*csgn(I*(c*x+1)^2/(c^2*x^2-1)
)*Pi*e*arctanh(c*x)+1/2*I/c*b*csgn(I*(c*x+1)^2/(c^2*x^2-1))*csgn(I*(c*x+1)/(-c^2*x^2+1)^(1/2))^2*Pi*e*arctanh(
c*x)+1/2*I/c*b*csgn(I*(c*x+1)^2/(c^2*x^2-1)/((c*x+1)^2/(-c^2*x^2+1)+1)^2)^2*csgn(I/((c*x+1)^2/(-c^2*x^2+1)+1)^
2)*Pi*e*arctanh(c*x)-2*b*e*x*arctanh(c*x)

________________________________________________________________________________________

Maxima [C]  time = 0.971981, size = 240, normalized size = 2.31 \begin{align*} -{\left (c^{2}{\left (\frac{2 \, x}{c^{2}} - \frac{\log \left (c x + 1\right )}{c^{3}} + \frac{\log \left (c x - 1\right )}{c^{3}}\right )} - x \log \left (-c^{2} x^{2} + 1\right )\right )} b e \operatorname{artanh}\left (c x\right ) -{\left (c^{2}{\left (\frac{2 \, x}{c^{2}} - \frac{\log \left (c x + 1\right )}{c^{3}} + \frac{\log \left (c x - 1\right )}{c^{3}}\right )} - x \log \left (-c^{2} x^{2} + 1\right )\right )} a e + a d x + \frac{{\left (2 \, c x \operatorname{artanh}\left (c x\right ) + \log \left (-c^{2} x^{2} + 1\right )\right )} b d}{2 \, c} + \frac{{\left ({\left (i \, \pi + 2 \, \log \left (c x - 1\right ) - 2\right )} \log \left (c x + 1\right ) +{\left (i \, \pi - 2\right )} \log \left (c x - 1\right )\right )} b e}{2 \, c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x))*(d+e*log(-c^2*x^2+1)),x, algorithm="maxima")

[Out]

-(c^2*(2*x/c^2 - log(c*x + 1)/c^3 + log(c*x - 1)/c^3) - x*log(-c^2*x^2 + 1))*b*e*arctanh(c*x) - (c^2*(2*x/c^2
- log(c*x + 1)/c^3 + log(c*x - 1)/c^3) - x*log(-c^2*x^2 + 1))*a*e + a*d*x + 1/2*(2*c*x*arctanh(c*x) + log(-c^2
*x^2 + 1))*b*d/c + 1/2*((I*pi + 2*log(c*x - 1) - 2)*log(c*x + 1) + (I*pi - 2)*log(c*x - 1))*b*e/c

________________________________________________________________________________________

Fricas [A]  time = 2.24459, size = 306, normalized size = 2.94 \begin{align*} \frac{b e \log \left (-c^{2} x^{2} + 1\right )^{2} + b e \log \left (-\frac{c x + 1}{c x - 1}\right )^{2} + 4 \,{\left (a c d - 2 \, a c e\right )} x + 2 \,{\left (2 \, a c e x + b d - 2 \, b e\right )} \log \left (-c^{2} x^{2} + 1\right ) + 2 \,{\left (b c e x \log \left (-c^{2} x^{2} + 1\right ) + 2 \, a e +{\left (b c d - 2 \, b c e\right )} x\right )} \log \left (-\frac{c x + 1}{c x - 1}\right )}{4 \, c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x))*(d+e*log(-c^2*x^2+1)),x, algorithm="fricas")

[Out]

1/4*(b*e*log(-c^2*x^2 + 1)^2 + b*e*log(-(c*x + 1)/(c*x - 1))^2 + 4*(a*c*d - 2*a*c*e)*x + 2*(2*a*c*e*x + b*d -
2*b*e)*log(-c^2*x^2 + 1) + 2*(b*c*e*x*log(-c^2*x^2 + 1) + 2*a*e + (b*c*d - 2*b*c*e)*x)*log(-(c*x + 1)/(c*x - 1
)))/c

________________________________________________________________________________________

Sympy [A]  time = 4.48352, size = 148, normalized size = 1.42 \begin{align*} \begin{cases} a d x + a e x \log{\left (- c^{2} x^{2} + 1 \right )} - 2 a e x + \frac{2 a e \operatorname{atanh}{\left (c x \right )}}{c} + b d x \operatorname{atanh}{\left (c x \right )} + b e x \log{\left (- c^{2} x^{2} + 1 \right )} \operatorname{atanh}{\left (c x \right )} - 2 b e x \operatorname{atanh}{\left (c x \right )} + \frac{b d \log{\left (- c^{2} x^{2} + 1 \right )}}{2 c} + \frac{b e \log{\left (- c^{2} x^{2} + 1 \right )}^{2}}{4 c} - \frac{b e \log{\left (- c^{2} x^{2} + 1 \right )}}{c} + \frac{b e \operatorname{atanh}^{2}{\left (c x \right )}}{c} & \text{for}\: c \neq 0 \\a d x & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*atanh(c*x))*(d+e*ln(-c**2*x**2+1)),x)

[Out]

Piecewise((a*d*x + a*e*x*log(-c**2*x**2 + 1) - 2*a*e*x + 2*a*e*atanh(c*x)/c + b*d*x*atanh(c*x) + b*e*x*log(-c*
*2*x**2 + 1)*atanh(c*x) - 2*b*e*x*atanh(c*x) + b*d*log(-c**2*x**2 + 1)/(2*c) + b*e*log(-c**2*x**2 + 1)**2/(4*c
) - b*e*log(-c**2*x**2 + 1)/c + b*e*atanh(c*x)**2/c, Ne(c, 0)), (a*d*x, True))

________________________________________________________________________________________

Giac [B]  time = 1.19316, size = 301, normalized size = 2.89 \begin{align*} \frac{b c x e \log \left (c x + 1\right )^{2} - b c x e \log \left (-c x + 1\right )^{2} + 2 \, a c x e \log \left (c x + 1\right ) - 2 \, b c x e \log \left (c x + 1\right ) + 2 \, a c x e \log \left (-c x + 1\right ) + 2 \, b c x e \log \left (-c x + 1\right ) + b c d x \log \left (-\frac{c x + 1}{c x - 1}\right ) + 2 \, a c d x - 4 \, a c x e + b e \log \left (c x + 1\right )^{2} - b e \log \left (c x - 1\right )^{2} + 2 \, b e \log \left (c x - 1\right ) \log \left (-c x + 1\right ) + b d \log \left (c^{2} x^{2} - 1\right ) + 2 \, a e \log \left (c x + 1\right ) - 2 \, b e \log \left (c x + 1\right ) - 2 \, a e \log \left (c x - 1\right ) - 2 \, b e \log \left (c x - 1\right )}{2 \, c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x))*(d+e*log(-c^2*x^2+1)),x, algorithm="giac")

[Out]

1/2*(b*c*x*e*log(c*x + 1)^2 - b*c*x*e*log(-c*x + 1)^2 + 2*a*c*x*e*log(c*x + 1) - 2*b*c*x*e*log(c*x + 1) + 2*a*
c*x*e*log(-c*x + 1) + 2*b*c*x*e*log(-c*x + 1) + b*c*d*x*log(-(c*x + 1)/(c*x - 1)) + 2*a*c*d*x - 4*a*c*x*e + b*
e*log(c*x + 1)^2 - b*e*log(c*x - 1)^2 + 2*b*e*log(c*x - 1)*log(-c*x + 1) + b*d*log(c^2*x^2 - 1) + 2*a*e*log(c*
x + 1) - 2*b*e*log(c*x + 1) - 2*a*e*log(c*x - 1) - 2*b*e*log(c*x - 1))/c